Lesson: 31 - Face detection (AI)

Purpose: Students will learn Face Detection using Machine Learning through the Scratch GUI and implement face detection features in their projects.

Materials Required

Computer / Laptop, Internet connection

Prior knowledge

Students should know about variable, controls, funtions, operators, video sensing etc.,

Exercises

Exercise:1



  1. How do we use a pre-trained model through the Extension method and implement the code in the Scratch 3.0 online GUI?

Solutions



  • Click here to view the solution for exercise 1

  • Teacher's Instruction
    1. Explain the basic concept of Face Detection.
    2. Show students how to add the Face Detection extension in the Scratch GUI.
    3. Demonstrate how to use the camera to detect a face.
    4. Guide students to use Scratch blocks to perform an action when a face is detected.